package cn.ronghuanet.base.service;

import cn.ronghuanet.base.query.BaseQuery;
import cn.ronghuanet.base.utils.PageList;

import java.util.List;

public interface IBaseService<T> {
    void save(T t);
    void update(T t);
    void delete(Long id);
    T queryById(Long id);
    List<T> queryAll();

    PageList<T> queryPage(BaseQuery query);

    void batchRemove(List<Long> ids);
}
